package br.com.dbsti.agenda;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

@Entity
public class Contato implements Serializable{
    
    @Id
    private Long codigo;
    @ManyToOne()
    @JoinColumn(name="empresa")
    private Empresa empresa;
    
}
